@charset 'utf-8';
html,body{
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

input::-webkit-input-placeholder {
    /* placeholder颜色  */
    color: #b0aeb9;
}
body{
    position: relative;
    overflow: auto;
    background: url(../images/login/bg.jpg) no-repeat center center;
    .login-box{
        position: absolute;
        width: 1139px;
        height: 661px;
        left: 50%;
        top: 50%;
        margin-left: -570px;
        margin-top: -332px;
        background: url(../images/login/box.png) no-repeat;
        .error-tip{
            height: 20px;
            line-height: 20px;
            margin-bottom: 2px;
        }
        .input-zone{
            position: absolute;
            right: 120px;
            top: 240px;
            width: 276px;
            height: 160px;
            padding-top: 30px;
            .login-btn{
                height: 46px;
                line-height: 46px;
                background-color: #a49ad9;
                color: #fff;
                font-size: 18px;
                border-radius: 20px;
                text-align: center;
                margin-top: 90px;
                box-shadow: 1px 8px 20px #d8d2f7;
                cursor: pointer;
            }
            .form-item{
                height: 32px;
                line-height: 32px;
                border-bottom: 1px dashed #dedede;
                a{
                    color: #b0a7dc;
                    font-size: 14px;
                    text-decoration: none;
                }
                i{
                    position: relative;
                    top: 1px;
                    display: inline-block;
                    width: 14px;
                    height: 14px;
                }
                &.username{
                    i{
                        background: url(../images/login/icon03.png) no-repeat;
                    }
                }
                &.pwd{
                    i{
                        background: url(../images/login/icon04.png) no-repeat;
                    }
                }
                span{
                    display: inline-block;
                    font-size: 16px;
                    color: #3d3d47;
                    margin-right: 5px;
                }
                input{
                    position: relative;
                    top: -1px;
                    font-size: 16px;
                    display: inline-block;
                    line-height: 28px;
                    border: 0;
                    width: 150px;
                    outline: none;
                    background: transparent;
                    color: #b0aeb9;
                }
            }
            .tabs{
                display: none;
                line-height: 40px;
                text-align: center;
                border-bottom: 2px solid #f1eef7;
                margin-bottom: 30px;
                span{
                    position: relative;
                    top: 2px;
                    display: inline-block;
                    cursor: pointer;
                    color: #b4b4bc;
                    border-bottom: 2px solid transparent;
                    &:hover{
                        color: #998dd5;
                        i.normal{
                            background: url(../images/login/icon01_hover.png);
                        }
                        i.admin{
                            background: url(../images/login/icon02_hover.png);
                        }
                    }
                    &.active{
                        color: #998dd5;
                        border-bottom: 2px solid #9c92d1;
                        i.normal{
                            background: url(../images/login/icon01_hover.png);
                        }
                        i.admin{
                            background: url(../images/login/icon02_hover.png);
                        }
                    }
                    &:first-child{
                        margin-right: 48px;
                    }
                    i{
                        position: relative;
                        top: 1px;
                        display:inline-block;
                        width: 14px;
                        height: 14px;
                        &.normal{
                            background: url(../images/login/icon01_nomal.png);
                        }
                        &.admin{
                            background: url(../images/login/icon02_nomal.png);
                        }
                    }
                }
            }
        }
    }
}